package com.fastloan.mgt.invest.dao;


import com.fastloan.mgt.invest.model.InvestTemp;
import com.fastloan.mgt.invest.model.InvestTempSubject;
import com.kawins.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author rankai
 *         createTime 2017-08-2017/8/9 14:06
 */
public interface InvestTempSubjectMapper extends BaseMapper<InvestTempSubject> {

    /**
     * 根据项目ID获取模版信息
     *
     * @param subjectId
     * @return
     */
    List<InvestTemp> selectBySubId(@Param("subjectId") String subjectId);

    void insertList(List<InvestTempSubject> investTempSubjects);
}
